<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%  String path = request.getContextPath(); %>
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<title>Ab-mart</title>
<meta name="description" content="">
<meta name="author" content="">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<!-- Basic Styles -->
<link rel="stylesheet" type="text/css" media="screen"
	href="<%=path%>/res/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" media="screen"
	href="<%=path%>/res/css/font-awesome.min.css">
<!-- SmartAdmin Styles : Please note (smartadmin-production.css) was created using LESS variables -->
<link rel="stylesheet" type="text/css" media="screen"
	href="<%=path%>/res/css/smartadmin-production.css">
<link rel="stylesheet" type="text/css" media="screen"
	href="<%=path%>/res/css/smartadmin-skins.css">
<!-- FAVICONS -->
<link rel="shortcut icon" href="<%=path%>/res/img/favicon/favicon.ico"
	type="image/x-icon">
<link rel="icon" href="<%=path%>/res/img/favicon/favicon.ico"
	type="image/x-icon">

</head>
<body id="login" class="animated fadeInDown">
	<!-- possible classes: minified, no-right-panel, fixed-ribbon, fixed-header, fixed-width-->
	<header id="header">
		<!--<span id="logo"></span>-->

		<div id="logo-group">
			<span id="logo"> </span>
		</div>
	</header>

	<div id="main" role="main">

		<!-- MAIN CONTENT -->
		<div id="content" class="container">

			<div class="row">
				<div
					class="col-xs-12 col-sm-12 col-md-7 col-lg-8 hidden-xs hidden-sm">
					<div class="hero">
						<img src="">
					</div>

				</div>
				<div class="col-xs-12 col-sm-12 col-md-5 col-lg-4">
					<div class="well no-padding">
						<form action="<%=path%>/login" method="post" id="login-form"
							class="smart-form client-form">
							<header> 登录 </header>

							<fieldset>

								<section>
									<label class="label">用户名</label> <label class="input">
										<i class="icon-append fa fa-user"></i> <input type="text"
										name="username" value="user"> <b
										class="tooltip tooltip-top-right"><i
											class="fa fa-user txt-color-teal"></i> 请输入你的用户名</b>
									</label>
								</section>

								<section>
									<label class="label">密码</label> <label class="input"> <i
										class="icon-append fa fa-lock"></i> <input type="password"
										name="password" value="123456"> <b
										class="tooltip tooltip-top-right"><i
											class="fa fa-lock txt-color-teal"></i> 请输入你的密码 </b>
									</label>
									<div class="note">
										<a href="javascript:void(0)">忘记密码?</a>
									</div>
								</section>

								<section>
									<label class="checkbox"> <input type="checkbox"
										name="remember" checked=""> <i></i>记住我
									</label>
								</section>
							</fieldset>
							<footer>
								<button type="submit" class="btn btn-primary">登录</button>
							</footer>
						</form>

					</div>
				</div>
			</div>
		</div>

	</div>

	<!--================================================== -->

	<!-- PACE LOADER - turn this on if you want ajax loading to show (caution: uses lots of memory on iDevices)
		<script data-pace-options='{ "restartOnRequestAfter": true }' src="js/plugin/pace/pace.min.js"></script>-->

	<!-- Link to Google CDN's jQuery + jQueryUI; fall back to local -->
	<script src="<%=path%>/res/js/libs/jquery-2.0.2.min.js"></script>

	<script src="<%=path%>/res/js/libs/jquery-ui-1.10.3.min.js"></script>
	<!-- JS TOUCH : include this plugin for mobile drag / drop touch events 		
		<script src="js/plugin/jquery-touch/jquery.ui.touch-punch.min.js"></script> -->

	<!-- BOOTSTRAP JS -->
	<script src="<%=path%>/res/js/bootstrap/bootstrap.min.js"></script>

	<!-- CUSTOM NOTIFICATION -->
	<script src="<%=path%>/res/js/notification/SmartNotification.min.js"></script>

	<!-- JARVIS WIDGETS -->
	<script src="<%=path%>/res/js/smartwidgets/jarvis.widget.min.js"></script>

	<!-- EASY PIE CHARTS -->
	<script
		src="<%=path%>/res/js/plugin/easy-pie-chart/jquery.easy-pie-chart.min.js"></script>

	<!-- SPARKLINES -->
	<script src="<%=path%>/res/js/plugin/sparkline/jquery.sparkline.min.js"></script>

	<!-- JQUERY VALIDATE -->
	<script
		src="<%=path%>/res/js/plugin/jquery-validate/jquery.validate.min.js"></script>

	<!-- JQUERY MASKED INPUT -->
	<script
		src="<%=path%>/res/js/plugin/masked-input/jquery.maskedinput.min.js"></script>

	<!-- JQUERY SELECT2 INPUT -->
	<script src="<%=path%>/res/js/plugin/select2/select2.min.js"></script>

	<!-- JQUERY UI + Bootstrap Slider -->
	<script
		src="<%=path%>/res/js/plugin/bootstrap-slider/bootstrap-slider.min.js"></script>

	<!-- browser msie issue fix -->
	<script src="<%=path%>/res/js/plugin/msie-fix/jquery.mb.browser.min.js"></script>

	<!-- SmartClick: For mobile devices -->
	<script src="<%=path%>/res/js/plugin/smartclick/smartclick.js"></script>

	<!--[if IE 7]>
			
			<h1>Your browser is out of date, please update your browser by going to www.microsoft.com/download</h1>
			
		<![endif]-->

	<!-- MAIN APP JS FILE -->
	<script src="<%=path%>/res/js/app.js"></script>

	<script type="text/javascript">
			runAllForms();

			$(function() {
				// Validation
				$("#login-form").validate({
					// Rules for form validation
					rules : {
						email : {
							required : true,
							email : true
						},
						password : {
							required : true,
							minlength : 3,
							maxlength : 20
						}
					},

					// Messages for form validation
					messages : {
						email : {
							required : 'Please enter your email address',
							email : 'Please enter a VALID email address'
						},
						password : {
							required : 'Please enter your password'
						}
					},

					// Do not change code below
					errorPlacement : function(error, element) {
						error.insertAfter(element.parent());
					}
				});
			});
		</script>

</body>
</html>